using System;
namespace AssemblyCSharp
{
	public class Rectangle
	{
		public int x;
		public int y;
		public int width;
		public int height;
		public int right;
		public int bottom;
		
		public Rectangle ()
		{
			this.x = 0;
			this.y = 0;
			this.width = 0;
			this.height = 0;
			this.right = 0;
			this.bottom = 0;
		}
		
		void createRect(int x, int y, int w, int h)
		{
			this.x = x;
			this.y = y;
			this.width = w;
			this.height = h;
			this.right = x + w;
			this.bottom = y + h;
		}
		void updateRect()
		{
			this.right = this.x + this.width;
			this.bottom = this.y + this.height;
		}
		
			
	}
}

